import request from '@/utils/request'

// 查询通知列表
export function listMsgSend(query) {
  return request({
    url: '/send/msgSend/list',
    method: 'get',
    params: query
  })
}

// 查询通知详细
export function getMsgSend(id) {
  return request({
    url: '/send/msgSend/' + id,
    method: 'get'
  })
}

// 系统通知-查看情况
export function getMsgSendSituation(query) {
  return request({
    url: '/send/msgSend/findSendSituation',
    method: 'get',
    params: query
  })
}

// 保存通知信息
export function saveMsgSend(data) {
  return request({
    url: '/send/msgSend/save',
    method: 'post',
    data: data
  })
}

// 删除通知
export function delMsgSend(id) {
  return request({
    url: '/send/msgSend/' + id,
    method: 'delete'
  })
}
